package com.mrsltec.springwebandroid.controller;

import android.webkit.WebView;

import com.mrsltec.springwebandroid.R;
import com.mrsltec.springwebandroid.WebPageActivity;

/**
 * Created by zhoumingrui on 2017/3/19.
 */

public class WebPageController {
    private WebPageActivity activity;
    private WebView webView;

    public WebView getWebView() {
        return webView;
    }

    public WebPageController(WebPageActivity activity){
        this.activity = activity;
    }

    public WebPageController initView(){
        webView = (WebView) activity.findViewById(R.id.webview);
        registEvent();
        return this;
    }

    public void registEvent(){

    }
}
